package com.xinyue.game.web.gateway.common;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 王广帅
 * @since 2023/5/23 21:09
 **/

@Data
@Configuration
@ConfigurationProperties(prefix = "xinyue.web.gateway.config")
public class XinYueWebGatewaySystemConfig {

    /**
     * 授权检测忽略列表，在此列表中的访问地址不检测授权
     */
    private List<String> uriAuthIgnoreList = new ArrayList<>();

    private String tokenAesKey = "123456AAbbcc#@xm";

}
